﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using BMS.Utilities;

namespace BMS.Models
{
    public class PDFModel
    {
        public String CompanyNameInEnglish { get; set; }
        public String CompanyNameInChinese { get; set; }
        public String CompanyAddressInChinese { get; set; }
        public String CompanyAddressInEnglish { get; set; }
        public String CompanyExtraInfo { get; set; }
        public String CompanyLogoPath { get; set; }
        public String CompanySignaturePath { get; set; }
        public ClientModel client { get; set; }
        public String PONo { get; set; }
        public String QuotationNo { get; set; }
        public String InvoiceNo { get; set; }
        public String WorkOrderNo { get; set; }
        public DateTime QuotationDate { get; set; }
        public bool IsQuotation { get; set; }
        public DateTime InvoiceDate { get; set; }
        public bool IsInvoice { get; set; }
        public String ReferenceNo { get; set; }
        public String VendorNo { get; set; }
        public DateTime WorkCompletionDate { get; set; }
        public String ServiceDetail { get; set; }
        public String Location { get; set; }
        public String PDFDestPath { get; set; }
        public String PDFFileName { get; set; }
        public int MaxNoOfRecords { get; set; }
        public List<QuotationItemModel> QuotationItemsList { get; set; }
        public InvoiceModel Invoice { get; set; }
        public List<InvoiceItemModel> InvoiceItemList { get; set; }

        public PDFModel()
        {
            CompanyNameInEnglish = Configuration.CompanyNameInEnglish;
            CompanyNameInChinese = Configuration.CompanyNameInChinese;
            CompanyLogoPath = Configuration.CompanyLogoPath;
            CompanyAddressInEnglish = Configuration.CompanyAddressInEnglish;
            CompanyAddressInChinese = Configuration.CompanyAddressInChinese;
            CompanyExtraInfo = Configuration.CompanyExtraInfo;
            CompanySignaturePath = Configuration.CompanySignaturePath;
            PDFDestPath = Configuration.ExcelAndPDFDestPath;
            MaxNoOfRecords = Configuration.MaxNoOfRecords;
        }
    }
}